﻿using System.Web.Mvc;
using Zavand.Web.Mvc.Manana.Framework;
using Zavand.Web.Mvc.Manana.SampleWebsite.Common;

namespace Zavand.Web.Mvc.Manana.SampleWebsite.Areas.Area2
{
    public class Area2AreaRegistration : BaseAreaRegistration
    {
        public const string Name = "Area2";
        public override string AreaName
        {
            get
            {
                return Name;
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            /*context.MapRoute(
                "Area2_default",
                "Area2/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional }
            );*/
        }
    }
    public class Area2Route : SampleWebsiteRoute
    {
        public Area2Route()
        {
            Area = Area2AreaRegistration.Name;
        }
    }
}
